package com.sname.car.bike.service;

import com.sname.car.bike.entity.BikeLocation;
import com.sname.car.common.exception.CarException;
import com.sname.car.user.entity.UserElement;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author songx
 * @date 2018/9/25 16:30
 */
public interface BikeService {
    int generateBike();

    void unLockBike(UserElement currentUserInformation, Long number) throws CarException;

    void lockBike(BikeLocation bikeLocation) throws CarException;

    void reportLocation(BikeLocation bikeLocation) throws CarException;
}
